package com.zzyk.main.model.vo;

import java.util.LinkedHashSet;

/**
 * @author wss_PC
 */
public class PermissionNode extends Model {
    private static final long serialVersionUID = 1L;
    
    private Integer id;
    private String title;
    private String desc;
    private Boolean type;
    private Boolean spread = true;
    private Boolean checked = false;
    private LinkedHashSet<PermissionNode> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Boolean getType() {
        return type;
    }

    public void setType(Boolean type) {
        this.type = type;
    }

    public Boolean getSpread() {
        return spread;
    }

    public void setSpread(Boolean spread) {
        this.spread = spread;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public LinkedHashSet<PermissionNode> getChildren() {
        return children;
    }

    public void setChildren(LinkedHashSet<PermissionNode> children) {
        this.children = children;
    }
}
